/*
 * jQuery Anti Adblock
* @creator http://www.sibarasok.net
 * @version 1.03 (27 Mei 2014)
 */
var standby = false;

function CekBlok() {
    if ($(".adsantilok").height() == "0") {
        TutupHalaman();
    }
}

function TutupHalaman() {
    if (!standby) {
        var h = 0;
        h = jQuery(window).height();
        jQuery("#energysaving").show().css({
            height: "0",
            width: "0",
            left: "50%",
            top: "50%"
        }).animate({
            width: "100%",
            height: h,
            left: "0",
            top: "0",
            opacity: "1"
        }, 1000);
        standby = true;
    }
}
document.write('<link rel="stylesheet" href="'+ linkcss +'" type="text/css">');

function jAntiBlock() {
    jQuery(function () {
        jQuery(document).ready(function () {
            setTimeout("CekBlok();", 1000);
            jQuery("body").append('<div id="energysaving"><p><font style="color: #ffffff;">MAAF....!!!<br/><br/>Silahkan nonaktifkan perangkat lunak pemblokir iklan (misal: Adsblock) untuk melihat blog ini.<br/>( Please disable Adsblock to view this blog )<br/><br/>Setelah itu lakukan "Refresh" untuk melanjutkan.<br/> <br/>TERIMA KASIH.</font><br/><br/>' + adminblog + '</p><div id="copyrightOnlineLeaf">Copyright 2014<font style="color: #fefefe;"><a href="http://www.sibarasok.net/" target="_blank">Materi Pelajaran SMA</a></font> - All rights reserved </div></div>');
        });
    });
}
jAntiBlock();